// 作用（价值）：统一提供了一套用于作用对象的api

const obj = {
    name: "tom",
    age: 18,
    sex: '男'
};

let r1 = Reflect.has(obj, 'name')
Reflect.deleteProperty(obj, 'age')
let r2 = Reflect.ownKeys(obj)
console.log(r1)
console.log(r2)
console.log(obj)